home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hpfdj99x.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  33.2 KB  |  1,201 lines

  1. *%% 
  2. *%% Common definitions for HP DeskJet 99x Series printers 
  3. *%%
  4. *%% Copyright 1999, Hewlett-Packard Co.
  5. *%% All Rights Reserved.
  6. *%%
  7.  
  8. *Include: "hpfnam50.gpd"
  9.  
  10.  
  11. *%%
  12. *%% Global Entries
  13. *%%
  14. *ResourceDLL: "hpfui50.dll"
  15.  
  16.  
  17. *rcPersonalityID: =PERSONALITY_PCL_DISPLAY 
  18.  
  19. *MasterUnits: PAIR(1200, 1200)
  20.  
  21. *switch:  Duplex
  22. {
  23.     *case: NONE
  24.     { 
  25.         *OutputOrderReversed?: TRUE
  26.     }
  27.     *default:
  28.     { 
  29.         *OutputOrderReversed?: FALSE
  30.     }
  31. }
  32.  
  33. *PrinterType: SERIAL
  34.  
  35. *%%
  36. *%% Macros
  37. *%%
  38. *%% collection of the macros common to all modes for this product
  39. *%%
  40. *Macros: OEMCommonCombinations
  41. {
  42.     OEM_COMMON_INFO: =OEM_PCLA =OEM_PCL_MARG_0 =OEM_PCL_MARG_DUP
  43. }
  44.  
  45. *Feature: PSAlignmentFile
  46.  {
  47.     *Name: "PSAlign"
  48.     *Option: HPF900AL
  49.     {
  50.         *Name: ""
  51.     }
  52.  }
  53.  
  54. *Feature: PSHelpFile
  55. {
  56.     *Name: "PSHelp"
  57.     *Option: HPFDJ200
  58.     {
  59.         *Name: ""
  60.     }
  61. }
  62.  
  63.  
  64. *%
  65. *% If Duplex is selected and installed 
  66. *% this will send us even pages backwards
  67. *%
  68. *ReverseBandOrderForEvenPages?: TRUE
  69.  
  70. *Feature: Orientation
  71. {
  72.     *rcNameID: =ORIENTATION_DISPLAY
  73.     *DefaultOption: PORTRAIT
  74.     *Option: PORTRAIT
  75.     {
  76.         *rcNameID: =PORTRAIT_DISPLAY
  77.         *Command: CmdSelect
  78.         {
  79.             *Order: PAGE_SETUP.50
  80.             *Cmd: =PCL_ORIENT_PORTRAIT
  81.         }
  82.     }
  83.     *Option: LANDSCAPE_CC270
  84.     {
  85.         *rcNameID: =LANDSCAPE_DISPLAY
  86.         *Command: CmdSelect
  87.         {
  88.             *Order: PAGE_SETUP.50
  89.             *Cmd: =PCL_ORIENT_PORTRAIT
  90.         }
  91.     }
  92. }
  93.  
  94.  
  95. *Feature: Duplex
  96. {   
  97.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  98.     *DefaultOption: NONE
  99.  
  100.     *Option: NONE
  101.     {
  102.         *rcNameID: =NONE_DISPLAY
  103.         *Command: CmdSelect
  104.         {
  105.             *Order: JOB_SETUP.20
  106.             *Cmd: "<1B>&l0S"
  107.         }
  108.     }
  109.     *Option: VERTICAL
  110.     {
  111.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  112.         *Command: CmdSelect
  113.         {
  114.             *Order: JOB_SETUP.20
  115.             *Cmd: "<1B>&l2S"
  116.         }
  117.  
  118.         *Constraints: HPDuplexUnit.NotInstalled
  119.     }
  120.     *Option: HORIZONTAL
  121.     {
  122.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  123.         *Command: CmdSelect
  124.         {
  125.             *Order: JOB_SETUP.20
  126.             *Cmd: "<1B>&l2S"
  127.         }
  128.         *Constraints: HPDuplexUnit.NotInstalled
  129.     }
  130. }
  131.  
  132.  
  133. *Feature: InputBin
  134. {
  135.     *rcNameID: =PAPER_SOURCE_DISPLAY
  136.     *DefaultOption: UPPER
  137.     *Option: UPPER
  138.     {
  139.         *rcNameID: =UPPER_TRAY_DISPLAY
  140.         *Command: CmdSelect
  141.         {
  142.             *Order: PAGE_SETUP.40
  143.             *Cmd: =PCL_MEDSOURCE_TRAY1 =PCL_MEDSOURCE_PRELOAD
  144.         }
  145.     }
  146.     *Option: MANUAL
  147.     {
  148.         *rcNameID: =MANUAL_FEED_DISPLAY
  149.         *Command: CmdSelect
  150.         {
  151.             *Order: PAGE_SETUP.40
  152.             *Cmd: =PCL_MEDSOURCE_MANUALFEED
  153.         }
  154.     }
  155.     *Option: ENVMANUAL
  156.     {
  157.         *rcNameID: =ENV_MANUAL_DISPLAY
  158.         *Command: CmdSelect
  159.         {
  160.             *Order: PAGE_SETUP.40
  161.             *Cmd: =PCL_MEDSOURCE_ENVMANFEED
  162.         }
  163.     }
  164. }
  165.  
  166.  
  167. *BlockMacro:  DUPLEX_CONSTRAINT
  168. {
  169.     *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL)
  170. }
  171.  
  172.  
  173. *Feature: PaperSize
  174. {
  175.     *rcNameID: =PAPER_SIZE_DISPLAY
  176.     *DefaultOption: LETTER
  177.     *Option: LETTER
  178.     {
  179.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  180.         *Command: CmdSelect
  181.         {
  182.             *Order: PAGE_SETUP.30
  183.             *Cmd: =PCL_US_LETTER
  184.         }
  185.         *switch: Orientation
  186.         {
  187.             *case: PORTRAIT
  188.             {
  189.                 *switch: Duplex
  190.                 {
  191.                     *case: NONE
  192.                     {
  193.                         *PrintableArea: PAIR(9600, 12500)
  194.                         *PrintableOrigin: PAIR(300, 80)
  195.                         *CursorOrigin: PAIR(300, 80)
  196.                     }
  197.                     *default
  198.                     {
  199.                         *PrintableArea: PAIR(9600, 12096)
  200.                         *PrintableOrigin: PAIR(300, 552)
  201.                         *CursorOrigin: PAIR(300, 552)
  202.                     }
  203.                 }
  204.             }
  205.             *case: LANDSCAPE_CC270
  206.             {
  207.                 *switch: Duplex
  208.                 {
  209.                     *case: NONE
  210.                     {
  211.                         *PrintableArea: PAIR(9600, 12500)
  212.                         *PrintableOrigin: PAIR(300, 80)
  213.                         *CursorOrigin: PAIR(9900, 80)                
  214.                     }
  215.                     *default
  216.                     {
  217.                         *PrintableArea: PAIR(9600, 12096)
  218.                         *PrintableOrigin: PAIR(300, 552)
  219.                         *CursorOrigin: PAIR(9900, 552)                
  220.                     }
  221.                 }
  222.             }
  223.         }
  224.     }
  225.     *Option: LEGAL
  226.     {
  227.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  228.         *Command: CmdSelect
  229.         {
  230.             *Order: PAGE_SETUP.30
  231.             *Cmd: =PCL_US_LEGAL
  232.         }
  233.         *switch: Orientation
  234.         {
  235.             *case: PORTRAIT
  236.             {
  237.                 *PrintableArea: PAIR(9600, 16104)
  238.                 *PrintableOrigin: PAIR(300, 96)
  239.                 *CursorOrigin: PAIR(300, 96)
  240.             }
  241.             *case: LANDSCAPE_CC270
  242.             {
  243.                 *PrintableArea: PAIR(9600, 16104)
  244.                 *PrintableOrigin: PAIR(300, 96)
  245.                 *CursorOrigin: PAIR(9900, 96)
  246.             }
  247.         }
  248.         *InsertBlock: =DUPLEX_CONSTRAINT
  249.     }
  250.     *Option: EXECUTIVE
  251.     {
  252.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  253.         *Command: CmdSelect
  254.         {
  255.             *Order: PAGE_SETUP.30
  256.             *Cmd: =PCL_US_EXECUTIVE
  257.         }
  258.         *switch: Orientation
  259.         {
  260.             *case: PORTRAIT
  261.             {
  262.                 *switch: Duplex
  263.                 {
  264.                     *case: NONE
  265.                     {
  266.                         *PrintableArea: PAIR(8096, 11824)
  267.                         *PrintableOrigin: PAIR(300, 48)
  268.                         *CursorOrigin: PAIR(300, 48)
  269.                     }
  270.                     *default
  271.                     {
  272.                         *PrintableArea: PAIR(8096, 11560)
  273.                         *PrintableOrigin: PAIR(302, 520)
  274.                         *CursorOrigin: PAIR(302, 520)
  275.                     }
  276.                 }                
  277.             }
  278.             *case: LANDSCAPE_CC270
  279.             {
  280.                 *switch: Duplex
  281.                 {
  282.                     *case: NONE
  283.                     {
  284.                         *PrintableArea: PAIR(8096, 11824)
  285.                         *PrintableOrigin: PAIR(300, 48)
  286.                         *CursorOrigin: PAIR(8396, 48)
  287.                     }
  288.                     *default
  289.                     {
  290.                         *PrintableArea: PAIR(8096, 11560)
  291.                         *PrintableOrigin: PAIR(266, 520)
  292.                         *CursorOrigin: PAIR(8398, 520)
  293.                     }
  294.                 }
  295.             }
  296.         }
  297.     }
  298.     *Option: A4
  299.     {
  300.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  301.         *Command: CmdSelect
  302.         {
  303.             *Order: PAGE_SETUP.30
  304.             *Cmd: =PCL_A4
  305.         }
  306.         *switch: Orientation
  307.         {
  308.             *case: PORTRAIT
  309.             {
  310.                 *switch: Duplex
  311.                 {
  312.                     *case: NONE
  313.                     {
  314.                         *PrintableArea: PAIR(9600, 13360)
  315.                         *PrintableOrigin: PAIR(160, 80)
  316.                         *CursorOrigin: PAIR(160, 80)
  317.                     }
  318.                     *default
  319.                     {
  320.                         *PrintableArea: PAIR(9600, 12928)
  321.                         *PrintableOrigin: PAIR(160, 512)
  322.                         *CursorOrigin: PAIR(160, 512)
  323.                     }
  324.                 }  
  325.             }
  326.             *case: LANDSCAPE_CC270
  327.             {
  328.                 *switch: Duplex
  329.                 {
  330.                     *case: NONE
  331.                     {
  332.                         *PrintableArea: PAIR(9600, 13360)
  333.                         *PrintableOrigin: PAIR(160, 80)
  334.                         *CursorOrigin: PAIR(9760, 80)
  335.                     }
  336.                     *default
  337.                     {
  338.                         *PrintableArea: PAIR(9600, 12928)
  339.                         *PrintableOrigin: PAIR(160, 512)
  340.                         *CursorOrigin: PAIR(9760, 512)
  341.                     }
  342.                 }
  343.             }
  344.         }
  345.     }    
  346.     *Option: A5
  347.     {
  348.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  349.         *Command: CmdSelect
  350.         {
  351.             *Order: PAGE_SETUP.30
  352.             *Cmd: =PCL_A5
  353.         }
  354.         *switch: Orientation
  355.         {
  356.             *case: PORTRAIT
  357.             {
  358.                 *switch: Duplex
  359.                 {
  360.                     *case: NONE
  361.                     {
  362.                         *PrintableArea: PAIR(6688, 9144)
  363.                         *PrintableOrigin: PAIR(152, 48)
  364.                         *CursorOrigin: PAIR(152, 48)
  365.                     }
  366.                     *default
  367.                     {
  368.                         *PrintableArea: PAIR(6688, 8884)
  369.                         *PrintableOrigin: PAIR(152, 520)
  370.                         *CursorOrigin: PAIR(152, 520)
  371.                     }
  372.                 }                
  373.             }
  374.             *case: LANDSCAPE_CC270
  375.             {
  376.                 *switch: Duplex
  377.                 {
  378.                     *case: NONE
  379.                     {
  380.                         *PrintableArea: PAIR(6688, 9144)
  381.                         *PrintableOrigin: PAIR(152, 48)
  382.                         *CursorOrigin: PAIR(6840, 48)
  383.                     }
  384.                     *default
  385.                     {
  386.                         *PrintableArea: PAIR(6688, 8884)
  387.                         *PrintableOrigin: PAIR(152, 520)
  388.                         *CursorOrigin: PAIR(6840, 520)
  389.                     }
  390.                 }
  391.             }
  392.         }
  393.     }
  394.     *Option: A6
  395.     {
  396.         *rcNameID: =A6_DISPLAY
  397.         *Command: CmdSelect
  398.         {
  399.             *Order: PAGE_SETUP.30
  400.             *Cmd: =PCL_A6
  401.         }
  402.         *switch: Orientation
  403.         {
  404.             *case: PORTRAIT
  405.             {
  406.                 *switch: Duplex
  407.                 {
  408.                     *case: NONE
  409.                     {
  410.                         *PrintableArea: PAIR(4656, 6228)
  411.                         *PrintableOrigin: PAIR(152, 48)
  412.                         *CursorOrigin: PAIR(152, 48)
  413.                     }
  414.                     *default
  415.                     {
  416.                         *PrintableArea: PAIR(4656, 5796)
  417.                         *PrintableOrigin: PAIR(152, 600)
  418.                         *CursorOrigin: PAIR(152, 600)
  419.                     }
  420.                 }
  421.             }
  422.             *case: LANDSCAPE_CC270
  423.             {
  424.                 *switch: Duplex
  425.                 {
  426.                     *case: NONE
  427.                     {
  428.                         *PrintableArea: PAIR(4656, 6228)
  429.                         *PrintableOrigin: PAIR(152, 48)
  430.                         *CursorOrigin: PAIR(4808, 48)
  431.                     }
  432.                     *default
  433.                     {
  434.                         *PrintableArea: PAIR(4656, 5796)
  435.                         *PrintableOrigin: PAIR(152, 600)
  436.                         *CursorOrigin: PAIR(4808, 600)
  437.                     }
  438.                 }
  439.             }
  440.         }
  441.     } 
  442.     *Option: B5
  443.     {
  444.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  445.         *Command: CmdSelect
  446.         {
  447.             *Order: PAGE_SETUP.30
  448.             *Cmd: =PCL_B5
  449.         }
  450.         *switch: Orientation
  451.         {
  452.             *case: PORTRAIT
  453.             {
  454.                 *switch: Duplex
  455.                 {
  456.                     *case: NONE
  457.                     {
  458.                         *PrintableArea: PAIR(8272,11372)
  459.                         *PrintableOrigin: PAIR(160,48)
  460.                         *CursorOrigin: PAIR(160, 48)
  461.                     }
  462.                     *default
  463.                     {
  464.                         *PrintableArea: PAIR(8100, 10944)
  465.                         *PrintableOrigin: PAIR(160, 600)
  466.                         *CursorOrigin: PAIR(160, 600)
  467.                     }
  468.                 }  
  469.             }
  470.             *case: LANDSCAPE_CC270
  471.             {
  472.                 *switch: Duplex
  473.                 {
  474.                     *case: NONE
  475.                     {
  476.                         *PrintableArea: PAIR(8272,11372)
  477.                         *PrintableOrigin: PAIR(160, 48)
  478.                         *CursorOrigin: PAIR(8432, 48)
  479.                     }
  480.                     *default
  481.                     {
  482.                         *PrintableArea: PAIR(8100,10944)
  483.                         *PrintableOrigin: PAIR(160, 600)
  484.                         *CursorOrigin: PAIR(8384, 600)
  485.                     }
  486.                 }
  487.             }
  488.         }
  489.     } 
  490.     *Option: ENV_10
  491.     {
  492.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  493.         *Command: CmdSelect
  494.         {
  495.             *Order: PAGE_SETUP.30
  496.             *Cmd: =PCL_ENV_10
  497.         }
  498.         *switch: Orientation
  499.         {
  500.             *case: PORTRAIT
  501.             {
  502.                 *PrintableArea: PAIR(4640,  10632)
  503.                 *PrintableOrigin: PAIR(152, 48)
  504.                 *CursorOrigin: PAIR(152, 48)
  505.             }
  506.             *case: LANDSCAPE_CC270
  507.             {
  508.                 *PrintableArea: PAIR(4640,  10632)
  509.                 *PrintableOrigin: PAIR(152, 48)
  510.                 *CursorOrigin: PAIR(4792, 48)
  511.             }
  512.         }
  513.         *InsertBlock: =DUPLEX_CONSTRAINT    
  514.     }
  515.     *Option: ENV_DL
  516.     {
  517.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  518.         *Command: CmdSelect
  519.         {
  520.             *Order: PAGE_SETUP.30
  521.             *Cmd: =PCL_ENV_DL
  522.         }
  523.         *switch: Orientation
  524.         {
  525.             *case: PORTRAIT
  526.             {
  527.                 *PrintableArea: PAIR(4880, 9624)
  528.                 *PrintableOrigin: PAIR(152, 48)
  529.                 *CursorOrigin: PAIR(152, 48)
  530.             }
  531.             *case: LANDSCAPE_CC270
  532.             {
  533.                 *PrintableArea: PAIR(4880, 9624)
  534.                 *PrintableOrigin: PAIR(152, 48)
  535.                 *CursorOrigin: PAIR(5032, 48)
  536.             }
  537.         }
  538.         *InsertBlock: =DUPLEX_CONSTRAINT    
  539.     }
  540.     *Option: ENV_C6
  541.     {
  542.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  543.         *Command: CmdSelect
  544.         {
  545.             *Order: PAGE_SETUP.30
  546.             *Cmd: =PCL_ENV_C6
  547.         }
  548.         *switch: Orientation
  549.         {
  550.             *case: PORTRAIT
  551.             {
  552.                 *PrintableArea: PAIR(5056, 6884)
  553.                 *PrintableOrigin: PAIR(160, 48)
  554.                 *CursorOrigin: PAIR(160, 48)
  555.             }
  556.             *case: LANDSCAPE_CC270
  557.             {
  558.                 *PrintableArea: PAIR(5056, 6884)
  559.                 *PrintableOrigin: PAIR(160, 48)
  560.                 *CursorOrigin: PAIR(5216, 48)
  561.             }
  562.         }
  563.         *InsertBlock: =DUPLEX_CONSTRAINT
  564.     }
  565.     *Option: ENV_A2
  566.     {
  567.         *rcNameID: =ENV_A2_DISPLAY
  568.         *PageDimensions: PAIR(5232, 6900)
  569.         *Command: CmdSelect
  570.         {
  571.             *Order: PAGE_SETUP.30
  572.             *Cmd: =PCL_ENV_A2
  573.         }
  574.         *switch: Orientation
  575.         {
  576.             *case: PORTRAIT
  577.             {
  578.                 *PrintableArea: PAIR(4912, 6252)
  579.                 *PrintableOrigin: PAIR(160, 48)
  580.                 *CursorOrigin: PAIR(160, 48)
  581.             }
  582.             *case: LANDSCAPE_CC270
  583.             {
  584.                 *PrintableArea: PAIR(4912, 6252)
  585.                 *PrintableOrigin: PAIR(160, 48)
  586.                 *CursorOrigin: PAIR(5072, 48)
  587.             }
  588.         }
  589.         *InsertBlock: =DUPLEX_CONSTRAINT
  590.     }
  591.     *Option: JAPANESE_POSTCARD
  592.     {
  593.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  594.         *Command: CmdSelect
  595.         {
  596.             *Order: PAGE_SETUP.30
  597.             *Cmd: =PCL_JAPANESE_POSTCARD
  598.         }
  599.         *switch: Orientation
  600.         {
  601.             *case: PORTRAIT
  602.             {
  603.                 *switch: Duplex
  604.                 {
  605.                     *case: NONE
  606.                     {
  607.                         *PrintableArea: PAIR(4416, 6228)
  608.                         *PrintableOrigin: PAIR(152, 48)
  609.                         *CursorOrigin: PAIR(152, 48)
  610.                     }
  611.                     *default
  612.                     {
  613.                         *PrintableArea: PAIR(4400, 5956)
  614.                         *PrintableOrigin: PAIR(160, 520)
  615.                         *CursorOrigin: PAIR(160, 520)
  616.                     }
  617.                 }
  618.             }
  619.             *case: LANDSCAPE_CC270
  620.             {
  621.                 *switch: Duplex
  622.                 {
  623.                     *case: NONE
  624.                     {
  625.                         *PrintableArea: PAIR(4416, 6228)
  626.                         *PrintableOrigin: PAIR(152, 48)
  627.                         *CursorOrigin: PAIR(4568, 48)
  628.                     }
  629.                     *default
  630.                     {
  631.                         *PrintableArea: PAIR(4400, 5956)
  632.                         *PrintableOrigin: PAIR(160, 520)
  633.                         *CursorOrigin: PAIR(4574, 520)
  634.                     }
  635.                 }
  636.             }
  637.         }
  638.     }
  639.     *Option: INDEX_4x6
  640.     {
  641.         *rcNameID: =US_INDEX_CARD_4X6_DISPLAY
  642.         *PageDimensions: PAIR(4800, 7200)
  643.         *Command: CmdSelect
  644.         {
  645.             *Order: PAGE_SETUP.30
  646.             *Cmd: =PCL_INDEX_4x6
  647.         }
  648.         *switch: Orientation
  649.         {
  650.             *case: PORTRAIT
  651.             {
  652.                 *switch: Duplex
  653.                 {
  654.                     *case: NONE
  655.                     {
  656.                         *PrintableArea: PAIR(4480, 6432)
  657.                         *PrintableOrigin: PAIR(160, 48)
  658.                         *CursorOrigin: PAIR(160, 48)
  659.                     }
  660.                     *default
  661.                     {
  662.                         *PrintableArea: PAIR(4480, 6160)
  663.                         *PrintableOrigin: PAIR(160, 520)
  664.                         *CursorOrigin: PAIR(160, 520)
  665.                     }
  666.                 }  
  667.             }
  668.             *case: LANDSCAPE_CC270
  669.             {
  670.                 *switch: Duplex
  671.                 {
  672.                     *case: NONE
  673.                     {
  674.                         *PrintableArea: PAIR(4480, 6432)
  675.                         *PrintableOrigin: PAIR(160, 48)
  676.                         *CursorOrigin: PAIR(4640, 48)
  677.                     }
  678.                     *default
  679.                     {
  680.                         *PrintableArea: PAIR(4480, 6160)
  681.                         *PrintableOrigin: PAIR(160, 520)
  682.                         *CursorOrigin: PAIR(4640, 520)
  683.                    }
  684.                 }
  685.             }
  686.         }
  687.     }
  688.     *Option: INDEX_5x8
  689.     {
  690.         *rcNameID: =US_INDEX_CARD_5X8_DISPLAY
  691.         *PageDimensions: PAIR(6000, 9600)
  692.         *Command: CmdSelect
  693.         {
  694.             *Order: PAGE_SETUP.30
  695.             *Cmd: =PCL_INDEX_5x8
  696.         }
  697.         *switch: Orientation
  698.         {
  699.             *case: PORTRAIT
  700.             {
  701.                 *switch: Duplex
  702.                 {
  703.                     *case: NONE
  704.                     {
  705.                         *PrintableArea: PAIR(5696, 8832)
  706.                         *PrintableOrigin: PAIR(152, 48)
  707.                         *CursorOrigin: PAIR(152, 48)
  708.                     }
  709.                     *default
  710.                     {
  711.                         *PrintableArea: PAIR(5700, 8560)
  712.                         *PrintableOrigin: PAIR(160, 520)
  713.                         *CursorOrigin: PAIR(160, 520)
  714.                     }
  715.                 } 
  716.             }
  717.             *case: LANDSCAPE_CC270
  718.             {
  719.                 *switch: Duplex
  720.                 {
  721.                     *case: NONE
  722.                     {
  723.                         *PrintableArea: PAIR(5696, 8832)
  724.                         *PrintableOrigin: PAIR(152, 48)
  725.                         *CursorOrigin: PAIR(5848, 48)
  726.                     }
  727.                     *default
  728.                     {
  729.                         *PrintableArea: PAIR(5700, 8560)
  730.                         *PrintableOrigin: PAIR(160, 520)
  731.                         *CursorOrigin: PAIR(5850, 520)
  732.                     }
  733.                 } 
  734.             }
  735.         }
  736.     }
  737.     *Option: CUSTOMSIZE
  738.     {
  739.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  740.         *MinSize: PAIR(4124, 6356)
  741.         *MaxSize: PAIR(9600, 16164)
  742.         *MaxPrintableWidth: 1
  743.         *MinLeftMargin: 150
  744.         *CenterPrintable?: FALSE
  745.         *Command: CmdSelect
  746.         {
  747.             *Order: PAGE_SETUP.30
  748.             *Cmd: =PCL_US_LEGAL
  749.         }
  750.         *switch: Orientation
  751.         {
  752.             *case: PORTRAIT
  753.             {
  754.                 *CustCursorOriginX:    %d{200}
  755.                 *CustCursorOriginY:    %d{100}
  756.                 *CustPrintableOriginX: %d{200}
  757.                 *CustPrintableOriginY: %d{100}
  758.                 *CustPrintableSizeX:   %d{PhysPaperWidth - 400}
  759.                 *CustPrintableSizeY:   %d{PhysPaperLength - 700}
  760.             }
  761.             *case: LANDSCAPE_CC270
  762.             {
  763.                 *CustCursorOriginX:    %d{PhysPaperWidth - 200}
  764.                 *CustCursorOriginY:    %d{100}
  765.                 *CustPrintableOriginX: %d{200}
  766.                 *CustPrintableOriginY: %d{100}
  767.                 *CustPrintableSizeX:   %d{PhysPaperWidth - 400}
  768.                 *CustPrintableSizeY:   %d{PhysPaperLength - 700}
  769.             }
  770.         }
  771.         *InsertBlock: =DUPLEX_CONSTRAINT    
  772.     }
  773. }
  774.  
  775.  
  776. *Feature: Resolution
  777. {
  778.     *rcNameID: =RESOLUTION_DISPLAY
  779.     *ConflictPriority: 50
  780.     *UpdateQualityMacro?: TRUE
  781.  
  782.     *DefaultOption: r300x300
  783.     *Option: r300x300
  784.     {
  785.         *Name: "300 x 300 " =DOTS_PER_INCH
  786.         *DPI: PAIR(300, 300)
  787.         *TextDPI: PAIR(300, 300)
  788.         *SpotDiameter: 100
  789.     }
  790.     *Option: r600x600
  791.     {
  792.         *Name: "600 x 600 " =DOTS_PER_INCH
  793.         *DPI: PAIR(600, 600)
  794.         *TextDPI: PAIR(600, 600)
  795.         *SpotDiameter: 100
  796.     }
  797.     *Option: r1200x1200
  798.     {
  799.         *Name: "1200 x 1200 " =DOTS_PER_INCH
  800.         *DPI: PAIR(1200, 1200)
  801.         *TextDPI: PAIR(1200, 1200)
  802.         *SpotDiameter: 100
  803.     }
  804.  
  805. }
  806.  
  807. *Feature: PM
  808. {
  809.     *rcNameID: =PRINT_MODE_DISPLAY
  810.     *ConflictPriority: 40
  811.     *FeatureType: DOC_PROPERTY
  812.     *UpdateQualityMacro?: TRUE
  813.  
  814.     *DefaultOption: PlainNormalColor
  815.     *Option: PlainEconoMono
  816.     {
  817.         *rcNameID: =AUTO_SELECT_DISPLAY
  818.         *Command: CmdSelect
  819.         {
  820.             *Order: PAGE_SETUP.45
  821.             *Cmd: =PCL_RASWIDTH_300LETTER =HPA_CRD_SEQC33
  822.         }
  823.         EXTERN_GLOBAL: *OEMCustomData:
  824. +           =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332
  825.         *Constraints: ColorMode.Color24
  826.         *Constraints: LIST(PQ.Normal, PQ.Best)
  827.         *Constraints: LIST(Resolution.r600x600,Resolution.r1200x1200)
  828.     }
  829.     *Option: PlainNormalMono
  830.     {
  831.         *rcNameID: =AUTO_SELECT_DISPLAY
  832.         *Command: CmdSelect
  833.         {
  834.             *Order: PAGE_SETUP.45
  835.             *Cmd: =PCL_RASWIDTH_300LETTER =HPA_CRD_SEQC33
  836.         }
  837.         EXTERN_GLOBAL: *OEMCustomData:
  838. +           =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332
  839.         *Constraints: ColorMode.Color24
  840.         *Constraints: LIST(PQ.Econo, PQ.Best)
  841.         *Constraints: LIST(Resolution.r600x600,Resolution.r1200x1200)
  842.     }
  843.     *Option: PlainBestMono
  844.     {
  845.         *rcNameID: =AUTO_SELECT_DISPLAY
  846.         *Command: CmdSelect
  847.         {
  848.             *Order: PAGE_SETUP.45
  849.             *Cmd: =PCL_RASWIDTH_600LETTER =HPA_CRD_SEQC66
  850.         }       
  851.         EXTERN_GLOBAL: *OEMCustomData:
  852. +           =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662
  853.         *Constraints: ColorMode.Color24
  854.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  855.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  856.     }
  857.     *Option: PlainEconoColor
  858.     {
  859.         *rcNameID: =AUTO_SELECT_DISPLAY
  860.         *Command: CmdSelect
  861.         {
  862.             *Order: PAGE_SETUP.45
  863.             *Cmd: =PCL_RASWIDTH_300LETTER =HPA_CRD_SEQC33
  864.         }
  865.         EXTERN_GLOBAL: *OEMCustomData:
  866. +           =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332
  867.         *Constraints: ColorMode.Gray8
  868.         *Constraints: LIST(PQ.Normal, PQ.Best)
  869.         *Constraints: LIST(Resolution.r600x600,Resolution.r1200x1200)
  870.     }
  871.     *Option: PlainNormalColor
  872.     {
  873.         *rcNameID: =AUTO_SELECT_DISPLAY
  874.         *Command: CmdSelect
  875.         {
  876.             *Order: PAGE_SETUP.45
  877.             *Cmd: =PCL_RASWIDTH_300LETTER =HPA_CRD_SEQC33
  878.         }
  879.         EXTERN_GLOBAL: *OEMCustomData:
  880. +           =OEM_COMMON_INFO =OEM_DF_HPA_SEQC332
  881.         *Constraints: ColorMode.Gray8
  882.         *Constraints: LIST(PQ.Econo, PQ.Best)
  883.         *Constraints: LIST(Resolution.r600x600,Resolution.r1200x1200)
  884.     }
  885.     *Option: PlainBestColor
  886.     {
  887.         *rcNameID: =AUTO_SELECT_DISPLAY
  888.         *Command: CmdSelect
  889.         {
  890.             *Order: PAGE_SETUP.45
  891.             *Cmd: =PCL_RASWIDTH_600LETTER =HPA_CRD_SEQC66
  892.         }
  893.         EXTERN_GLOBAL: *OEMCustomData:
  894. +           =OEM_COMMON_INFO =OEM_DF_HPA_SEQC662
  895.         *Constraints: ColorMode.Gray8
  896.         *Constraints: LIST(PQ.Econo, PQ.Normal)
  897.         *Constraints: LIST(Resolution.r300x300,Resolution.r1200x1200)
  898.     }
  899. }
  900.  
  901.  
  902. *Feature: MediaType
  903. {
  904.     *rcNameID: =MEDIA_TYPE_DISPLAY
  905.     *ConflictPriority: 10
  906.     *DefaultOption: STANDARD
  907.     *UpdateQualityMacro?: TRUE
  908.  
  909.     *Option: STANDARD
  910.     {
  911.         *rcNameID: =PLAIN_PAPER_DISPLAY
  912.         *Command: CmdSelect
  913.         {
  914.             *Order: PAGE_SETUP.10
  915.             *Cmd: =PCL_MEDIA_PLAIN
  916.         }
  917.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  918.     }
  919.  
  920.     *Option: HP_PREMIUM_INKJET_PAPER
  921.     {   
  922.         *rcNameID: =HP_PREMIUM_INKJET_PAPER_DISPLAY
  923.         *OptionID: =HP_PREMIUM_INKJET_PAPER_ID
  924.         *Command: CmdSelect
  925.         {
  926.             *Order: PAGE_SETUP.10
  927.             *Cmd: =PCL_MEDIA_SPECIAL
  928.         }
  929.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  930.     }
  931.  
  932.     *Option: HP_PREMIUM_INKJET_HEAVYWEIGHT
  933.     {   
  934.         *rcNameID: =HP_PREMIUM_INKJET_HEAVYWEIGHT_DISPLAY
  935.         *OptionID: =HP_PREMIUM_INKJET_HEAVYWEIGHT_ID
  936.         *Command: CmdSelect
  937.         {
  938.             *Order: PAGE_SETUP.10
  939.             *Cmd: =PCL_MEDIA_INKJET_HEAVY
  940.         }
  941.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  942.     }
  943.  
  944.     *Option: TRANSPARENCY
  945.     {
  946.         *rcNameID: =HP_PREMIUM_INKJET_TRANSPARENCY_DISPLAY
  947.         *Command: CmdSelect
  948.         {
  949.             *Order: PAGE_SETUP.10
  950.             *Cmd:  =PCL_MEDIA_TRANSPARENCY
  951.         }
  952.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  953.     }
  954.  
  955.     *Option: HP_PREMIUM_PHOTO_PAPER
  956.     {   
  957.         *rcNameID: =HP_PREMIUM_PHOTO_PAPER_DISPLAY
  958.         *Command: CmdSelect
  959.         {
  960.             *Order: PAGE_SETUP.10
  961.             *Cmd: =PCL_MEDIA_PREMIUM_PHOTO
  962.         }
  963.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  964.     }
  965.  
  966.     *Option: HP_PHOTO_PAPER
  967.     {   
  968.         *rcNameID: =HP_PHOTO_PAPER_DISPLAY
  969.         *OptionID: =HP_PHOTO_PAPER_ID
  970.         *Command: CmdSelect
  971.         {
  972.             *Order: PAGE_SETUP.10
  973.             *Cmd: =PCL_MEDIA_GLOSSY
  974.         }
  975.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  976.     }
  977.  
  978.     *Option: HP_PROFESSIONAL_BROCHURE_GLOSSY
  979.     {   
  980.         *rcNameID: =HP_PROFESSIONAL_BROCHURE_GLOSSY_DISPLAY
  981.         *OptionID: =HP_PROFESSIONAL_BROCHURE_GLOSSY_ID
  982.         *Command: CmdSelect
  983.         {
  984.             *Order: PAGE_SETUP.10
  985.             *Cmd: =PCL_MEDIA_BROCHURE_GLOSSY
  986.         }
  987.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  988.     }
  989.  
  990.     *Option: HP_PROFESSIONAL_BROCHURE_MATTE
  991.     {   
  992.         *rcNameID: =HP_PROFESSIONAL_BROCHURE_MATTE_DISPLAY
  993.         *OptionID: =HP_PROFESSIONAL_BROCHURE_MATTE_ID
  994.         *Command: CmdSelect
  995.         {
  996.             *Order: PAGE_SETUP.10
  997.             *Cmd: =PCL_MEDIA_BROCHURE_MATTE
  998.         }
  999.         EXTERN_GLOBAL: *ChangeColorModeOnDoc?: FALSE
  1000.     }
  1001. }
  1002.  
  1003. *Feature: ColorMode
  1004. {
  1005.     *rcNameID: =COLOR_PRINTING_MODE_DISPLAY
  1006.     *ConflictPriority: 30
  1007.     *UpdateQualityMacro?: TRUE
  1008.     *DefaultOption: Color24
  1009.  
  1010.     *Option: Gray8
  1011.     {   
  1012.         *rcNameID: =GRAYSCALE_DISPLAY
  1013.         *Color?: FALSE
  1014.         *DevNumOfPlanes: 0
  1015.         *DevBPP: 0
  1016.         *DrvBPP: 8
  1017.         *IPCallbackID: 1
  1018.         *Command: CmdSendBlockData { *Cmd: "" }
  1019.         *Command: CmdSelect
  1020.         {
  1021.             *Order: JOB_SETUP.10
  1022.             *Cmd: =PJL_ENTER_PCL3GUI
  1023.         }
  1024.     }
  1025.     *Option: Color24
  1026.     {   
  1027.         *rcNameID: =24BPP_DISPLAY
  1028.         *Color?: TRUE
  1029.         *DevNumOfPlanes: 0
  1030.         *DevBPP: 0
  1031.         *DrvBPP: 24
  1032.         *IPCallbackID: 1
  1033.         *Command: CmdSendBlockData { *Cmd: "" }
  1034.         *Command: CmdSelect
  1035.         {
  1036.             *Order: JOB_SETUP.10
  1037.             *Cmd: =PJL_ENTER_PCL3GUI
  1038.         }
  1039.     }
  1040. }
  1041.  
  1042. *Feature: PQ
  1043. {
  1044.     *rcNameID: =PRINT_QUALITY_DISPLAY
  1045.     *ConflictPriority: 20
  1046.     *FeatureType: DOC_PROPERTY
  1047.     *UpdateQualityMacro?: TRUE
  1048.  
  1049.     *DefaultOption: Normal
  1050.     *Option: Econo
  1051.     {
  1052.         *rcNameID: =DRAFT_DISPLAY
  1053.         *Command: CmdSelect
  1054.         {
  1055.             *Order: PAGE_SETUP.20
  1056.             *Cmd: =PCL_PQ_ECONO
  1057.         }
  1058.     }
  1059.     *Option: Normal
  1060.     {
  1061.         *rcNameID: =NORMAL_DISPLAY
  1062.         *Command: CmdSelect
  1063.         {
  1064.             *Order: PAGE_SETUP.20
  1065.             *Cmd: =PCL_PQ_NORMAL
  1066.         }
  1067.     }
  1068.     *Option: Best
  1069.     {
  1070.         *rcNameID: =BEST_DISPLAY
  1071.         *Command: CmdSelect
  1072.         {
  1073.             *Order: PAGE_SETUP.20
  1074.             *Cmd: =PCL_PQ_BEST
  1075.         }
  1076.     }
  1077. }
  1078.  
  1079.  
  1080. *%%
  1081. *%% Print Quality Macros
  1082. *%%
  1083. *switch: MediaType
  1084. {
  1085.     *case: STANDARD
  1086.     {
  1087.         *switch: ColorMode
  1088.         {
  1089.             *case: Gray8
  1090.             {
  1091.                 *DraftQualitySettings:  LIST(ColorMode.Gray8, PM.PlainEconoMono,  PQ.Econo,  Resolution.r300x300)
  1092.                 *BetterQualitySettings: LIST(ColorMode.Gray8, PM.PlainNormalMono, PQ.Normal, Resolution.r300x300)
  1093.                 *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PlainBestMono,   PQ.Best,   Resolution.r600x600)
  1094.                 *DefaultQuality: BETTERQUALITY
  1095.             }
  1096.             *default:
  1097.             {
  1098.                 *DraftQualitySettings:  LIST(ColorMode.Color24, PM.PlainEconoColor,  PQ.Econo,  Resolution.r300x300)
  1099.                 *BetterQualitySettings: LIST(ColorMode.Color24, PM.PlainNormalColor, PQ.Normal, Resolution.r300x300)
  1100.                 *BestQualitySettings:   LIST(ColorMode.Color24, PM.PlainBestColor,   PQ.Best,   Resolution.r600x600)
  1101.                 *DefaultQuality: BETTERQUALITY
  1102.             }
  1103.         }
  1104.     }
  1105.  
  1106.     *case: TRANSPARENCY
  1107.     {
  1108.         *switch: ColorMode
  1109.         {
  1110.             *case: Gray8
  1111.             {
  1112.                 *DraftQualitySettings:  LIST(ColorMode.Gray8, PM.PlainEconoMono,  PQ.Econo,  Resolution.r300x300)
  1113.                 *BetterQualitySettings: LIST(ColorMode.Gray8, PM.PlainNormalMono, PQ.Normal, Resolution.r300x300)
  1114.                 *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PlainBestMono,   PQ.Best,   Resolution.r600x600)
  1115.                 *DefaultQuality: BETTERQUALITY
  1116.             }
  1117.             *default:
  1118.             {
  1119.                 *DraftQualitySettings:  LIST(ColorMode.Color24, PM.PlainEconoColor,  PQ.Econo,  Resolution.r300x300)
  1120.                 *BetterQualitySettings: LIST(ColorMode.Color24, PM.PlainNormalColor, PQ.Normal, Resolution.r300x300)
  1121.                 *BestQualitySettings:   LIST(ColorMode.Color24, PM.PlainBestColor,   PQ.Best,   Resolution.r600x600)
  1122.                 *DefaultQuality: BETTERQUALITY
  1123.             }
  1124.         }
  1125.     }
  1126.  
  1127.     *default:
  1128.     {
  1129.         *switch: ColorMode
  1130.         {
  1131.             *case: Gray8
  1132.             {
  1133.                 *DraftQualitySettings:  LIST()
  1134.                 *BetterQualitySettings: LIST(ColorMode.Gray8, PM.PlainNormalMono, PQ.Normal, Resolution.r300x300)
  1135.                 *BestQualitySettings:   LIST(ColorMode.Gray8, PM.PlainBestMono,   PQ.Best,   Resolution.r600x600)
  1136.                 *DefaultQuality: BESTQUALITY
  1137.             }
  1138.             *default:
  1139.             {
  1140.                 *DraftQualitySettings:  LIST()
  1141.                 *BetterQualitySettings: LIST(ColorMode.Color24, PM.PlainNormalColor, PQ.Normal, Resolution.r300x300)
  1142.                 *BestQualitySettings:   LIST(ColorMode.Color24, PM.PlainBestColor,   PQ.Best,   Resolution.r600x600)
  1143.                 *DefaultQuality: BESTQUALITY
  1144.             }
  1145.         }
  1146.     }
  1147. }
  1148.  
  1149.  
  1150. *%%
  1151. *%% Printer Configuration Commands
  1152. *%%
  1153. *Command: CmdStartDoc
  1154. {
  1155.     *Order: DOC_SETUP.10
  1156.     *Cmd: ""
  1157. }
  1158.  
  1159. *Command: CmdEndDoc
  1160. {
  1161.     *Order: DOC_FINISH.10
  1162.     *Cmd: =PJL_EXIT_LANGUAGE
  1163. }
  1164.  
  1165. *Command: CmdStartPage
  1166. {
  1167.     *Order: PAGE_SETUP.60
  1168.     *Cmd: "<1B>*o7W<08 09 00 00 07 00 01><1B>&u600D<1B>*r1A"
  1169. }
  1170.  
  1171. *Command: CmdEndPage
  1172. {
  1173.     *Order: PAGE_FINISH.10
  1174.     *Cmd: "<1B>*rC<0C>"
  1175. }
  1176.  
  1177.  
  1178. *%%
  1179. *%% Printing Attributes and Commands
  1180. *%%
  1181. *RotateCoordinate?: TRUE
  1182. *RotateRaster?: FALSE
  1183.  
  1184. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1185. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1186. *EjectPageWithFF?: FALSE
  1187. *XMoveThreshold: 0
  1188. *YMoveThreshold: 0
  1189. *XMoveUnit: 600
  1190. *YMoveUnit: 600
  1191. *Command: CmdXMoveAbsolute { *Cmd: "<1B>*p" %d{DestX}"X" }
  1192. *Command: CmdYMoveAbsolute { *Cmd: "<1B>*p" %d{DestY}"Y" }
  1193. *Command: CmdCR { *Cmd: "<0D>" }
  1194. *Command: CmdLF { *Cmd: "<0A>" }
  1195. *Command: CmdFF { *Cmd: "<0C>" }
  1196.  
  1197. *OutputDataFormat: H_BYTE
  1198. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1199. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1200. *RasterSendAllData?: TRUE
  1201.